<link href="<{$res_url}>/css/wap/public.css" rel="stylesheet" type="text/css">
<link href="<{$res_url}>/css/wap/home.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="<{$res_url}>/js/wap/jquery.min.js"></script>
<script type="text/javascript" src="<{$res_url}>/js/wap/TouchSlide.1.1.js"></script>
<script type="text/javascript" src="<{$res_url}>/js/wap/iscroll.js"></script>


</head>

<body style="background:#f8f9fa;">
    <section class="warp" style="padding-bottom:45px">
        <div class="content">
            
            <{if !$app}>
<!--            <header>
                <div class="logo">樱淘社</div>
                <div class="position fr"><a href="opinions.html"><img src="<{$res_url}>/images/wap/icon13.png" width="25"></a></div>
            </header>-->
            <{/if}>
            <div id="tabBox1" class="tabBox">
                <div class="hd">
                    <ul class="clearfix">
                        <li><a href="javascript:void(0)">精选<span></span></a></li>
                        <li><a href="javascript:void(0)">人气<span></span></a></li>
                        <li><a href="javascript:void(0)">关注</a></li>
                    </ul>
                </div>
    
                <div class="bd" id="tabBox1-bd">
                    <div class="con">
                        <ul>
                            <{if $fancy}>
                            <{foreach from=$fancy item=row}>
                            <li>
                                <div class="recommend_name">
                                    <span><{if $row['is_attention']}><a href="javascript:void(0);">已关注</a><{else}><a href="#">+ <em>关注</em></a><{/if}></span>
                                    <b><a href="statics-pointLv.html"><img src="<{$row['avatar']}>" width="50" height="50"><em><{$row['name']}></em><font>LV<{$row['member_lv_id']}></font></a></b>
                                </div>
                                <div class="recommend_info">
                                    <div class="recommend_pic" style="position:relative;">
                                        <a href='opinions-info.html?opinions_id=<{$row['id']}>'>
                                        <{if $row['tag']}>
                                        <{foreach from=$row['tag'] item=t}>
                                        <div class="tag_box <{if $t.image_type=='2'}>t_right<{/if}>" id="moveid" style='top:<{$t.x}>%;left:<{$t.y}>%;  position: absolute;'>
                                            <img src="<{$res_url}>/images/wap/icon28.png" class="dot">
                                            <span>
                                                <{$t.image_tag}>
                                                <em class="s_right"></em>
                                            </span>
                                        </div>
                                        <{/foreach}>
                                        <{/if}>
                                        <img src="<{$row['image_url']}>" width="100%">
                                        </a>
                                    </div>
                                    <div class="recommend_text">
                                        <h2><a href="agoods-info.html?goods_id=<{$row.goods_id}>"><{$row['goods_name']}></a></h2>
                                        <p><span>[好物推荐]</span><{$row['content']}></p>
                                        <p class="time"><{$row['created']}></p>
                                    </div>
                                </div>
                            </li>
                            <{/foreach}>
                            <{else}>
                            抱歉,没有对应的推荐
                            <{/if}>
                        </ul>
                    </div>
                    <div class="con">
                            <{if $praise}>
                        <ul>
                            <{foreach from=$praise item=row}>
                            <li>
                                <div class="recommend_name">
                                    <span><{if $row['is_attention']}><a href="javascript:void(0);">已关注</a><{else}><a href="#">+ <em>关注</em></a><{/if}></span>
                                    <b><a href="statics-pointLv.html"><img src="<{$row['avatar']}>" width="50" height="50"><em><{$row['name']}></em><font>LV<{$row['member_lv_id']}></font></a></b>
                                </div>
                                <div class="recommend_info">
                                    <div class="recommend_pic" style="position:relative;">
                                        <a href='opinions-info.html?opinions_id=<{$row['id']}>'>
                                        <{if $row['tag']}>
                                        <{foreach from=$row['tag'] item=t}>
                                        <div class="tag_box <{if $t.image_type=='2'}>t_right<{/if}>" id="moveid" style='top:<{$t.x}>%;left:<{$t.y}>%;  position: absolute;'>
                                            <img src="<{$res_url}>/images/wap/icon28.png" class="dot">
                                            <span>
                                                <{$t.image_tag}>
                                                <em class="s_right"></em>
                                            </span>
                                        </div>
                                        <{/foreach}>
                                        <{/if}>
                                        <img src="<{$row['image_url']}>" width="100%">
                                        </a>
                                    </div>
                                    <div class="recommend_text">
                                        <h2><a href="agoods-info.html?goods_id=<{$row.goods_id}>"><{$row['goods_name']}></a></h2>
                                        <p><span>[好物推荐]</span><{$row['content']}></p>
                                        <p class="time"><{$row['created']}></p>
                                    </div>
                                </div>
                            </li>
                            <{/foreach}>
                        </ul>
                            <{else}>
                            抱歉,没有对应的推荐
                            <{/if}>
                    </div>
                    <div class="con">
                        <ul>
                            <{if $attention}>
                            <{foreach from=$attention item=row}>
                            <li>
                                <div class="recommend_name">
                                    <span><{if $row['is_attention']}><a href="javascript:void(0);">已关注</a><{else}><a href="#">+ <em>关注</em></a><{/if}></span>
                                    <b><a href="statics-pointLv.html"><img src="<{$row['avatar']}>" width="50" height="50"><em><{$row['name']}></em><font>LV<{$row['member_lv_id']}></font></a></b>
                                </div>
                                <div class="recommend_info">
                                    <div class="recommend_pic" style="position:relative;">
                                        <a href='opinions-info.html?opinions_id=<{$row['id']}>'>
                                        <{if $row['tag']}>
                                        <{foreach from=$row['tag'] item=t}>
                                        <div class="tag_box <{if $t.image_type=='2'}>t_right<{/if}>" id="moveid" style='top:<{$t.x}>%;left:<{$t.y}>%;  position: absolute;'>
                                            <img src="<{$res_url}>/images/wap/icon28.png" class="dot">
                                            <span>
                                                <{$t.image_tag}>
                                                <em class="s_right"></em>
                                            </span>
                                        </div>
                                        <{/foreach}>
                                        <{/if}>
                                        <img src="<{$row['image_url']}>" width="100%">
                                        </a>
                                    </div>
                                    <div class="recommend_text">
                                        <h2><a href="agoods-info.html?goods_id=<{$row.goods_id}>"><{$row['goods_name']}></a></h2>
                                        <p><span>[好物推荐]</span><{$row['content']}></p>
                                        <p class="time"><{$row['created']}></p>
                                    </div>
                                </div>
                            </li>
                            <{/foreach}>
                            <{else}>
                            抱歉,没有对应的推荐
                            <{/if}>
                        </ul>
                    </div>
                </div>
            </div>
            <script type="text/javascript">
                TouchSlide({slideCell: "#tabBox1",
                    endFun: function (i) {
                        var bd = document.getElementById("tabBox1-bd");
                        bd.parentNode.style.height = bd.children[i].children[0].offsetHeight + "px";
                        if (i > 0)
                            bd.parentNode.style.transition = "200ms";
                    }

                });
            </script>
		
		<{wap_require file="block/member-footer.html"}> 
        </div>
    </section>

